﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020007A9 RID: 1961
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetPunkLordBattleRecordCsReq : IMessage<GetPunkLordBattleRecordCsReq>, IMessage, IEquatable<GetPunkLordBattleRecordCsReq>, IDeepCloneable<GetPunkLordBattleRecordCsReq>, IBufferMessage
	{
		// Token: 0x17001905 RID: 6405
		// (get) Token: 0x06005818 RID: 22552 RVA: 0x000EDAF9 File Offset: 0x000EBCF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetPunkLordBattleRecordCsReq> Parser
		{
			get
			{
				return GetPunkLordBattleRecordCsReq._parser;
			}
		}

		// Token: 0x17001906 RID: 6406
		// (get) Token: 0x06005819 RID: 22553 RVA: 0x000EDB00 File Offset: 0x000EBD00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetPunkLordBattleRecordCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001907 RID: 6407
		// (get) Token: 0x0600581A RID: 22554 RVA: 0x000EDB12 File Offset: 0x000EBD12
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetPunkLordBattleRecordCsReq.Descriptor;
			}
		}

		// Token: 0x0600581B RID: 22555 RVA: 0x000EDB19 File Offset: 0x000EBD19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPunkLordBattleRecordCsReq()
		{
		}

		// Token: 0x0600581C RID: 22556 RVA: 0x000EDB21 File Offset: 0x000EBD21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPunkLordBattleRecordCsReq(GetPunkLordBattleRecordCsReq other) : this()
		{
			this.aNAGKANMOBM_ = ((other.aNAGKANMOBM_ != null) ? other.aNAGKANMOBM_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600581D RID: 22557 RVA: 0x000EDB56 File Offset: 0x000EBD56
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPunkLordBattleRecordCsReq Clone()
		{
			return new GetPunkLordBattleRecordCsReq(this);
		}

		// Token: 0x17001908 RID: 6408
		// (get) Token: 0x0600581E RID: 22558 RVA: 0x000EDB5E File Offset: 0x000EBD5E
		// (set) Token: 0x0600581F RID: 22559 RVA: 0x000EDB66 File Offset: 0x000EBD66
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PunkLordMonsterKey ANAGKANMOBM
		{
			get
			{
				return this.aNAGKANMOBM_;
			}
			set
			{
				this.aNAGKANMOBM_ = value;
			}
		}

		// Token: 0x06005820 RID: 22560 RVA: 0x000EDB6F File Offset: 0x000EBD6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetPunkLordBattleRecordCsReq);
		}

		// Token: 0x06005821 RID: 22561 RVA: 0x000EDB7D File Offset: 0x000EBD7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetPunkLordBattleRecordCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.ANAGKANMOBM, other.ANAGKANMOBM) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005822 RID: 22562 RVA: 0x000EDBB0 File Offset: 0x000EBDB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.aNAGKANMOBM_ != null)
			{
				num ^= this.ANAGKANMOBM.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005823 RID: 22563 RVA: 0x000EDBEC File Offset: 0x000EBDEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005824 RID: 22564 RVA: 0x000EDBF4 File Offset: 0x000EBDF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005825 RID: 22565 RVA: 0x000EDBFD File Offset: 0x000EBDFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.aNAGKANMOBM_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.ANAGKANMOBM);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005826 RID: 22566 RVA: 0x000EDC30 File Offset: 0x000EBE30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.aNAGKANMOBM_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ANAGKANMOBM);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005827 RID: 22567 RVA: 0x000EDC70 File Offset: 0x000EBE70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetPunkLordBattleRecordCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.aNAGKANMOBM_ != null)
			{
				if (this.aNAGKANMOBM_ == null)
				{
					this.ANAGKANMOBM = new PunkLordMonsterKey();
				}
				this.ANAGKANMOBM.MergeFrom(other.ANAGKANMOBM);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005828 RID: 22568 RVA: 0x000EDCC4 File Offset: 0x000EBEC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005829 RID: 22569 RVA: 0x000EDCD0 File Offset: 0x000EBED0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.aNAGKANMOBM_ == null)
					{
						this.ANAGKANMOBM = new PunkLordMonsterKey();
					}
					input.ReadMessage(this.ANAGKANMOBM);
				}
			}
		}

		// Token: 0x0400225C RID: 8796
		private static readonly MessageParser<GetPunkLordBattleRecordCsReq> _parser = new MessageParser<GetPunkLordBattleRecordCsReq>(() => new GetPunkLordBattleRecordCsReq());

		// Token: 0x0400225D RID: 8797
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400225E RID: 8798
		public const int ANAGKANMOBMFieldNumber = 1;

		// Token: 0x0400225F RID: 8799
		private PunkLordMonsterKey aNAGKANMOBM_;
	}
}
